package com.gable.exhibition.dao;

import com.gable.exhibition.model.ValidateCode;

public interface ValidateCodeDao {
    int deleteByPrimaryKey(Long id);

    int insert(ValidateCode record);

    int insertSelective(ValidateCode record);

    ValidateCode selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ValidateCode record);

    int updateByPrimaryKey(ValidateCode record);

    /**
     * 获取用户登录时发送的验证码
     * @param validateCode
     * @Create date 2018/2/5
     * @Create user jacky
     * @return
     */
    ValidateCode verificationCode(ValidateCode validateCode);
}